import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
// import MintUI from 'mint-ui'
// import 'mint-ui/lib/style.css'
// Vue.use(MintUI)
import qs from 'qs'
Vue.prototype.qs = qs

// axios.defaults.baseURL = 'http://115.28.137.176:8088';
axios.defaults.headers.post['Content-Type']='application/json'

Vue.prototype.axios = axios
Vue.config.productionTip = false

window.onload = window.onresize = function () {
  document.documentElement.style.fontSize = 20 * document.documentElement.clientWidth / 375 + 'px';
}

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
